#!/bin/csh

set nn=1 
set all=1000 
echo "Limit of WIMP MASS from " $nn "(GeV) to " $all "GeV" 
 
while ( $nn <= $all ); 
    root -b -q 'DMeff.C+('$nn',1)' 
    if ( $nn < 50 ) then
	@ nn = $nn + 1 
    else if($nn < 100) then
	@ nn = $nn + 5 
    else if($nn < 1000) then
	@ nn = $nn + 10 
    else if($nn >= $all) then
	 break
    endif
end
